<div class="uploads form">
<?php echo $this->Form->create('Upload', array('enctype' => 'multipart/form-data'));?>
	<fieldset>
 		<legend><?php __('Editar Arquivo'); ?></legend>
 		<div class="actions">
			<?php echo $this->Html->link(__('Apagar', true), array('action' => 'delete', $this->Form->value('Upload.id_uploads')), null, sprintf(__('Deseja apagar esse arquivo?', true), $this->Form->value('Upload.id_uploads'))); ?>
			<?php echo $this->Html->link(__('Voltar', true), array('action' => 'index'));?>
		</div>
	<?php
		echo $this->Form->input('id_uploads');
		echo $this->Form->input('data', array('label'=> 'Data', 'dateFormat'=>'DMY'));
		echo $this->Form->input("tipo", $tipos);
		echo $this->Form->input('nome_uploads', array('label'=>'Nome'));
		echo $this->Form->input('descricao_uploads', array('label'=>'Nome'));
		echo $this->Form->input('arquivo', array('type'=>'file'));
		echo $this->Form->input('email', array('type'=>'checkbox', 'label'=>'Enviar E-mail?'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>